<%@page import="wt.doc.WTDocument,shmged.com.shlcm.workflow.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String oid = request.getParameter("oid");
    String selected = request.getParameter("select");
    String users = request.getParameter("users");
    String comments = request.getParameter("comments");
    if(null == oid || oid.trim().length() == 0){
    	out.println("提交任务出错：oid ="+oid+"请联系管理员！");
    }else{
    	Object result = CmWorkFlowHelper.commitWorkItem(oid,selected,users,comments);
    	out.println(result);
    }
    out.flush();
%>